﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="wxappshop.aspx.cs" Inherits="MxWeiXinPF.Web.admin.wxapp.wxappshop" %>


<%@ Import Namespace="MxWeiXinPF.Common" %>


<!DOCTYPE html>
<html>
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <meta name="viewport" content="width=device-width,minimum-scale=1.0,maximum-scale=1.0,initial-scale=1.0,user-scalable=no" />
    <meta name="apple-mobile-web-app-capable" content="yes" />
    <title>小程序商城</title>
<%=PageJSAndStype("edit").ToString() %>
<script type="text/javascript">
    $(function () {
        //图片延迟加载
        $(".pic img").lazyload({ effect: "fadeIn" });
        //点击图片链接
        $(".pic img").click(function () {
            var linkUrl = $(this).parent().parent().find(".foot a").attr("href");
            if (linkUrl != "") {
                location.href = linkUrl; //跳转到修改页面
            }
        });
    });
</script>


</head>

<body class="mainbody">
    <form id="form1" runat="server">
        <!--导航栏-->
        <div class="location">
            <a href="#" class="home"><i class="iconfont icon-home"></i><span>小程序商城</span></a>
        </div>
        <!--/导航栏-->


        <!--列表-->

        <asp:Repeater ID="rptList" runat="server">
            <HeaderTemplate>
                <div class="imglist">
                    <ul>
            </HeaderTemplate>
            <ItemTemplate>
                <li>
                     <asp:HiddenField ID="hidId" Value='<%#Eval("id")%>' runat="server" />
                    <a href="wxappshopDetail.aspx?id=<%#Eval("id")%>">

                    <div class="details<%#Eval("tyQRPic").ToString() != "" ? "" : " nopic"%>">
                       
                        <%#Eval("tyQRPic").ToString() != "" ? "<div class=\"pic\"><img src=\"../skin/default/loadimg.gif\" data-original=\"" + Eval("tyQRPic") + "\" /></div><i class=\"absbg\"></i>" : ""%>
                        <h1><span><%#Eval("wxappName").ToString()%></span></h1>
                        
                    </div>
                         </a>
                </li>
            </ItemTemplate>
            <FooterTemplate>
                <%#rptList.Items.Count == 0 ? "<div align=\"center\" style=\"font-size:12px;line-height:30px;color:#666;\">暂无小程序</div>" : ""%>
              </ul>
            </div>
            </FooterTemplate>
        </asp:Repeater>

        <!--/列表-->

        <!--内容底部-->
        <div class="line20"></div>
        <div class="pagelist" style="display: none;">
            <div class="l-btns">
                <span>显示</span><asp:TextBox ID="txtPageNum" runat="server" CssClass="pagenum" onkeydown="return checkNumber(event);" OnTextChanged="txtPageNum_TextChanged" AutoPostBack="True"></asp:TextBox><span>条/页</span>
            </div>
            <div id="PageContent" runat="server" class="default"></div>
        </div>
        <!--/内容底部-->
    </form>
</body>
</html>
